﻿using System;
using System.Text;

namespace DreamCube.Foundation.Basic.Utility
{
    /// <summary>
    /// 编码相关的方法
    /// </summary>
    public static class MyEncoding
    {
        public static Encoding GetGbkEncoding()
        {
            return Encoding.GetEncoding(936);
        }

        public static Encoding GetBig5Encoding()
        {
            return Encoding.GetEncoding(950);
        }

        public static Encoding GetShiftJisEncoding()
        {
            return Encoding.GetEncoding(932);
        }

        public static Encoding GetKoreaEncoding()
        {
            return Encoding.GetEncoding(949);
        }
    }
}
